﻿namespace Xwltz.Framework.Model
{
    /// <summary>
    /// 微信小程序配置
    /// </summary>
    public class WxXcx
    {
        /// <summary>
        /// 默认小程序AppId
        /// </summary>
        public static string DefaultAppId = "wx38825494a173387a";

        /// <summary>
        /// 默认小程序AppSecret
        /// </summary>
        public static string DefaultAppSecret = "68f1e9d899a13c9c7f0582ffa5d169b0";

        /// <summary>
        /// 构造函数
        /// </summary>
        public WxXcx()
        {
            AppId = DefaultAppId;
            AppSecret = DefaultAppSecret;
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="appId"></param>
        /// <param name="appSecret"></param>
        public WxXcx(string appId, string appSecret)
        {
            AppId = appId;
            AppSecret = appSecret;
        }

        public string AppId { get; set; }
        public string AppSecret { get; set; }

        public string GameAppId { get; set; }
        public string GameAppSecret { get; set; }
    }
}